#include<stdio.h>
int main()
{
    char  str[50] = {0};
    gets(str);//输入字符串
    int i;
    for(i = 0;i < 50;i++)
    {char c = str[i];
        if('a' <= c && c < 'x' || 'A' <= c && c < 'X')
        {
            c = (char)(c + 3);
            printf("%c",c);}
       else if('X' <= c  && c <= 'X' + 3  || 'x' <= c)
        {c = (char)(c - 23);
            printf("%c",c);}
    }


    return 0;
}  //
// Created by baoch on 2024/10/21.
//
